import {http} from '@/utils/http'

// 添加null
export function addCategory(data:any) {
    return http.post<any>('/admin/category/addCategory', data)
}

// 修改null
export function updateCategory(data:any) {
    return http.post<any>('/admin/category/updateCategory', data)
}

// 删除null
export function deleteCategory(id:string) {
    return http.post<any>('/admin/category/deleteCategory/'+id)
}

// 获取null详情
export function getCategory(id:any) {
    return http.post<any>('/admin/category/getCategory/'+id)
}

// 获取null分页列表
export function getCategoryPage(data:any) {
    return http.post<any>('/admin/category/getCategoryPage', data)
}





















